<!--{eval $_TPL['titles'] = array($mtag['tagname'], $mtag['title'], $li_chn_name);}-->
<!--{template site/tpl/header}-->


 <h1 class="clearfix line"><a href="site.php?ac=show&fid=$mtag[fieldid]" class="h1brand"><span>$nav_name</span></a>
$mtag[tagname]</h1>

<script type="text/javascript">
  j$ = jQuery.noConflict();  	
  var tick = 0;
  var pick = 0;
  function update_announce() {
    if (!tick) {
      j$('#announce_form').show();
      tick = 1;
    } else {
      tick = 0;
      j$('#announce_form').hide();
    }
  }
	function update_pic() {
    if (!pick) {
      j$('#pic_form').show();
      pick = 1;
    } else {
      pick = 0;
      j$('#pic_form').hide();
    }
	}

  /*
  j$(function() {
	 j$('.singlepro').mouseover(function(){
     j$(this).addClass('proover');
     j$('.salescount').addClass('hidden');
		}).mouseout(function(){
			j$(this).removeClass("proover");
      j$('.salescount').removeClass('hidden');
		}); 
	}); 
   */
  j$(function(){
    j$('.singlepro').mouseover(function(){
     //j$(this).addClass('proover');
      j$('img.sp_avatar').hide();
      j$('img.pp_avatar').show();
		}).mouseout(function(){
			//j$(this).removeClass("proover");
      j$('img.sp_avatar').show();
      j$('img.pp_avatar').hide();
		});      
  });
</script>
    <div class="left_w">        
	<div class="block block_shopinfo">
	<div class="content">
	<div class="info clearfix">
                        <div class="info1">
                            <div class="simage">
                                <div class="block_img block_img77">
                                        <div class="image_box"><div id="space_avatar"><img width="160" alt="$mtag[tagname]" src="$mtag[pic]"/></div></div>
                                </div>
            <!--{if intval($mtag[moderator])==$_SGLOBAL[supe_uid]}-->                                                              
			<a style="display:block; margin: 10px 0;" href="javascript:;" onclick="update_pic();">编辑档案图片</a>
      <!--{/if}-->
	<div id="pic_form" style="display:none;text-align:left;">
<script src="public/js/ajaxupload.3.1.js" type="text/javascript"></script>
  <form id="pic_form" name="pic_form" action="site.php?ac=profile&op=editpic&profid=$profid" method="post" class="j a_updone_form">
	<div id="warning_t" class="example">
		<p class="text"></p>
</div>
	<input type="input" name="picfile" style="width: 105px;" id="picfile" class="t_input"/>
  <a id="browse_pic">选择照片</a>		
			<br><input type="submit" name="editpicsubmit" class="submit" value="更新">
			<input type="hidden" name="refer" value="site.php?ac=profile&profid=$profid">
			<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
		</form>
  </div>
</div>

 
                        </div>
            <div class="info2">
                     <dl class="surl">
              
                        <dd><div class="brandshortintro"><div id="article"><p><!--{if $mtag[announcement]}-->$mtag[announcement]<!--{else}-->还没有描述<!--{/if}-->        
						<!--{if intval($mtag[moderator])==$_SGLOBAL[supe_uid]}--></p></div>
<a href="javascript:;" onclick="update_announce();">更新描述</a><!--{/if}-->
					</div>
					
					<div class="brandintro hide" id="announce_form" style="display:none;text-align:left;">	
						<form id="announce_form" name="announce_form" action="site.php?ac=profile&op=editannounce&profid=$profid" method="post" class="j a_update_announce">
				<textarea name="announcement" cols="70" rows="3" style="width: 380px">$mtag[announce_bbcode]</textarea>
				<br><input type="submit" name="editannouncesubmit" class="submit" value="更新">
				<input type="hidden" name="refer" value="site.php?ac=profile&profid=$profid">
				<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
				</form>
					</div></dd>
                    </dl>
                                        
            </div>
            </div>
            </div>
            </div>
          

<div id="getfeed">
</div>
 
 <div class="block block_product">
                <h2 >	$mtag['tagname']的时尚发现</h2>
			
             
<div id="showgoods" class="content">
<div class="block_product">
    <ul class="clearfix">
                <!--{loop $spotlist $subvalue}-->
            <li class="singlepro">
			<div class="img">
        <a title="$subvalue[spotnote]" href="site.php?ac=image&type=spot&amp;id=$subvalue['spotid']">
          <!--{if $subvalue['tag1'] == $profid}-->
          <img class="sp_avatar" alt="$subvalue[tagname]" src="{$subvalue[p2pic]}" width=160 height=160 />
          <!--{else}-->
          <img class="sp_avatar" alt="$subvalue[tagname]" src="{$subvalue[p1pic]}" width=160 height=160 />
          <!--{/if}-->
          <img class="pp_avatar" style="display:none;" alt="$subvalue[tagname]" src="{$subvalue[pic]}" width=160 height=160 /></a>
	  </div>
        <div class="salescount"> <a title="$subvalue[spotnote]" href="site.php?ac=image&type=spot&amp;id=$subvalue['spotid']"><span class="name_text">$subvalue[tagname]</span></a></div>
                <div class="addcollect">
                    <div class="hide">
					<a  href="site.php?ac=profile&profid=$subvalue['tag1']" alt="$subvalue[p1name]"><img alt="$subvalue[p1name]" src="{$subvalue[p1pic]}" width=75 height=50 style="margin:5px 5px 0 0;"></a>
	
					<a  href="site.php?ac=profile&profid=$subvalue['tag2']" alt="$subvalue[p2name]"><img alt="$subvalue[p2name]" src="{$subvalue[p2pic]}" width=75 height=50 style="margin:5px 0 0 5px;"></a>
                    </div>
                </div>
			</li>
      <!--{/loop}-->      
																	
															                                                                              </ul>
    <div class="more"><a class="btn_create" href="site.php?ac=profile&op=spot&profid=$profid">>更多时尚发现</a></div>
</div>
   
</div>
 </div>          
   
      

<div id="album_review" class="block block_album">
			<a href="site.php?ac=image&type=profile&id=$profid&op=list" class="fr">>更多</a>
            <h2>$mtag['tagname']的图片<em>($piccount)</em>

			</h2>
            <div class="content clearfix">
<!--{loop $plist $key $value}-->          
<dl>
    <dt>
	<div class="wrap1">
	<div class="wrap2">
	<div class="wrap3">
	<a href="site.php?ac=image&type=profile&id=$profid&picid=$value[picid]" title="$value[title]" class="dropshadow">
	<img src="$value[pic]"/></a></div>
	</div>
	</div>
	</dt>
    <dd>
    
        <div class="bar"><span class="time"><!--{date('Y-m-d H:i',$value[dateline],1)}--></span></div>
    </dd>
</dl>      
<!--{/loop}-->           
	<dl class="clear"/>                            </div>
            
        </div>

        <h2>$mtag['tagname']的话题讨论</h2>

 

<!--{if !$_SGLOBAL[supe_uid]}-->
     <div style="margin: 10px 0pt; padding: 20px; background: rgb(236, 228, 210) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">
            发表对它的感触？请先<a href="" class="j a_show_login innerlink">登录</a>或<a href="do.php?ac=$_SCONFIG[register_action]" class="innerlink">注册</a><span style="color: rgb(153, 153, 153);">(不超过24秒)</span>
        </div>
<!--{else}-->
		 <div id="commentlist" class="block_reviewreply">
			<!--{if $cid}-->
			<div class="notice">
				当前只显示与你操作相关的单个评论，<a href="site.php?ac=profile&op=index&profid=$profid#comment">点击此处查看全部评论</a>
			</div>
			<!--{/if}-->			
			<ul id="comment_ul">
			<!--{loop $list $value}-->
				<!--{template site/tpl/space_comment_li}-->
			<!--{/loop}-->
			</ul>
		</div>
		<div class="page">$multi</div>
	<form id="quickcommentform_{$profid}" name="quickcommentform_{$profid}" action="site.php?ac=comment" method="post" class="j a_add_reply quickpost" style="padding-bottom: 1em;">
			<table cellpadding="0" cellspacing="0">
				<tr>
					<td>
						<textarea id="comment_message" name="message" rows="5" cols="60" ></textarea>
					</td>
				</tr>
				<tr>
					<td>
					<input type="hidden" name="id" value="$profid">
					<input type="hidden" name="idtype" value="profid">
					<input type="hidden" name="commentsubmit" value="true">
					<input type="submit" id="commentsubmit_btn" name="commentsubmit_btn" class="submit" value="评论" />
					<span id="comment_status"></span>
					</td>
				</tr>
			</table>
		<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
		</form>
	 <!--{/if}-->  
</div>
<div class="right_w">
      <div class="block block_connectuser">
	  			<div style="float:right;" id="fan_area">
			<!--{if empty($mtag['ismember']) }-->
			<a href="site.php?ac=ajax&op=dofan&sop=befan&profid=$mtag[tagid]" class="j a_dofan">加我</a>
			<!--{else}-->
			<a href="site.php?ac=ajax&op=dofan&sop=nofan&profid=$mtag[tagid]" class="j a_dofan">退出</a>
			<!--{/if}-->
			</div>
            <h2>            
			<!---{
			<a href="site.php?ac=profile&amp;op=member&amp;profid=$mtag[tagid]" class="fr">>全部 $fancount 人</a>}-->
            $mtag[tagname]的粉丝

			</h2>
            <ul class="content clearfix">
                      
					  <!--{loop $memberlist $key $value}-->
					  <li>
                    <div class="user">
                        <div class="block_img">
                        <div class="image_box"><a href="space.php?uid=space.php?uid=$value[uid]"><img width="60" alt="{$_SN[$value[uid]]}" src="<!--{avatar($value[uid],small)}-->"/></a></div>
                        <div class="friend_text"><span class="name_text"><a href="space.php?uid=space.php?uid=$value[uid]">{$_SN[$value[uid]]}</a></span></div>
                        </div>
                    </div>
                </li>                                                                   
				<!--{/loop}-->
				                      </ul>
            
        </div>
    </div>
  
  
     
        


<!--{template site/tpl/footer}-->
